package com.paul.sys.service.impl;

import com.paul.sys.mapper.BikeParkInfoMapper;
import com.paul.sys.model.BikeParkInfo;
import com.paul.sys.service.BikeParkInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * Created by 羽 on 2015/11/9.
 */
@Service
public class BikeParkInfoServiceImpl implements BikeParkInfoService {

    @Autowired
    private BikeParkInfoMapper bikeParkInfoMapper;


    @Override
    public Integer countAll(Map<String, String> param) {
        return bikeParkInfoMapper.countAll(param);
    }

    @Override
    public int updateByBike(BikeParkInfo bikeparkinfo) {
        return bikeParkInfoMapper.updateByBike(bikeparkinfo);
    }

    @Override
    public BikeParkInfo selectByPrimaryKey(Integer unid) {
        return bikeParkInfoMapper.selectByPrimaryKey(unid);
    }

    @Override
    public List<BikeParkInfo> listAll(Map<String, String> param) {
        return bikeParkInfoMapper.listAll(param);
    }


}
